home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / Rinaldi / HC 2.0 Only / Infoid 1.1.cpt / US Infoid 1.1 / card_3055.txt < prev    next >
Text File  |  1990-10-30  |  3KB  |  91 lines

  1. -- card: 3055 from stack: in.1
  2. -- bmap block id: 3273
  3. -- flags: 0000
  4. -- background id: 2661
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (field)
  9. -- low flags: 01
  10. -- high flags: 0007
  11. -- rect: left=69 top=68 right=252 bottom=434
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 3
  16. -- text size: 9
  17. -- style flags: 0
  18. -- line height: 12
  19. -- part name: 
  20.  
  21.  
  22. -- part 5 (button)
  23. -- low flags: 00
  24. -- high flags: A003
  25. -- rect: left=174 top=281 right=311 bottom=343
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 1
  29. -- font id: 0
  30. -- text size: 12
  31. -- style flags: 0
  32. -- line height: 16
  33. -- part name: Infoid
  34. ----- HyperTalk script -----
  35. on mouseUp
  36.   Infoid
  37.   if the Result ‚↠empty
  38.   then answer the Result
  39. end mouseUp
  40.  
  41.  
  42. -- part contents for card part 1
  43. ----- text -----
  44.  
  45.  
  46.                                                    Infoid 1.1
  47.  
  48.                                           by Fr√©d√©ric RINALDI
  49.  
  50.  
  51. DESCRIPTION
  52. ------------
  53.   Infoid XCMD displays a windoid showing current objects attributes.
  54.  
  55.  
  56. SYNTAX
  57. --------
  58.                                              Infoid [<X>,<Y>]
  59.  
  60. PARAMETERS
  61. ------------
  62.    X and Y are optional integer, allowing to give coordinates where the window will appear on screen.
  63.  
  64.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  65.  
  66. USING
  67. -----
  68.    Infoid is stand alone, no linked resource is needed. To activate it, you'll have to put a short handler in your Home stack :
  69.  
  70.    on mouseEnter
  71.       if "Infoid" is in windows()
  72.       then send "Update" to window "Infoid"
  73.    end mouseEnter
  74.  
  75.    Clicking on the zoom box displays more informations.
  76.  
  77.    Like any XWindow, Infoid has properties that can be get and set thru HyperTalk. 
  78.   ‚Äúproperties of window "Infoid"‚Äù will return an item list of all allowed properties. Properties cannot be set.
  79.    Most usual are Loc and visible. So you can move the windoid on the screen, and make it invisible.
  80.  
  81. If an error occurs, Infoid can return :
  82.  
  83.      "Error : Unable to create XWindow"
  84.      "Error : XWindows not implemented"
  85. --------------------------------------------------------------------
  86. This (these) external(s) is (are) FreeWare,allowing unlimited use in any non-commercial stack. You just need in this case to mention the author's name and copyright in your stack.
  87. Any commercial use must be licensed and aknowledged by the author.
  88.  
  89.                                   ¬© F. Rinaldi - 1989,1990
  90.  
  91. AppleLink: RINALDI1        CalvaCom : FR10        Compuserve : 71170,2111